Backus-Naur Form

Came across BNF while I was browsing ZenSharp repo on GitHub.

BNF is used by ZenSharp for defining its live template language: Templates.ltg

BNF

BNF is a metalanguage (language that used to talk about a language) used to describe the grammar of a programming language.

Symbols

<>: angle brackets indicate a nonterminal that needs to be further expanded

::=: is defined as

|: or

Reference

The language of languages

https://www.cis.upenn.edu/~matuszek/cit594-2014/Lectures/16-bnf.ppt

What is BNF notation?

Backus-Naur Form (BNF)

See Also

ZenSharp: ZenSharp for ReSharper is mnemonics on steroids!

Others

Syntax support in Atom: language-bnf

results matching ""

    No results matching ""